<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片标签</title>
</head>

<body>
    <img src="https://bkimg.cdn.bcebos.com/pic/6159252dd42a2834349bcceb30ffdeea15ce37d311b2?x-bce-process=image/resize,m_lfit,h_500,limit_1"
        alt="图片显示出错">
    <img src="C:\Users\off-pc\Downloads\baby.jpg" alt="路径错误" title="baby是个花瓶">
    <!-- 设置图片时增加宽高属性,在网速较慢的情况下能保持网页格式,增加用户体验,
        如果不加的话,刚开始图片的位置是不显示的,只有加载完成后才撑开-->
    <img src="C:\Users\off-pc\Downloads\baby.jpg" width="200" height="200" alt="路径错误" title="baby是个花瓶">
</body>

</html>